package com.ll.service;

import com.ll.vo.request.EmailServerRequestVo;
import com.ll.vo.response.EmailServerResponseVo;
import com.ll.vo.response.PrimaryIdVo;
/**
 * 邮件服务端
 * @author liudawei
 *
 */
public interface EmailServerService {
	
	/**
	 * 新增邮件服务端
	 * @param emailServerRequestVo
	 * @return
	 */
	public PrimaryIdVo saveEmailServer(EmailServerRequestVo emailServerRequestVo);
	
	/**
	 * 修改邮件服务端
	 * @param emailServerRequestVo
	 */
	public void updateEmailServer(EmailServerRequestVo emailServerRequestVo);
	
	/**
	 * 删除邮件服务端
	 * @param id
	 */
	public void deleteEmailServer(String id);
	

	/**
	 * 根据ID查询
	 * @param id
	 * @return
	 */
	public EmailServerResponseVo findById(String id);
	
	/**
	 * 根据商户查询邮件服务器
	 * @param shopId
	 * @return
	 */
	public EmailServerResponseVo findByShopId(String shopId);

}
